// 搜索输入框获得焦点
function focus(){
    console.log('search focus');
    $('.search_input_container').css('background-color','rgba(241, 243, 245, 0.4)');
    $('.search_input_container').css('border','1px solid rgba(0, 0, 0, 0.05)');
}
$('.input input').focus(function(){
    focus();
})
$('.input input').blur(function(){
    console.log('search blur');
    $('.search_input_container').css('background-color','rgba(0, 0, 0, 0.05)');
    $('.search_input_container').css('border','1px solid rgba(0, 0, 0, 0)');
})

// 搜索框点击-关闭
$('.searchLogo,.search').click(function(){
    console.log('search open');
    $('.searchDetail').css('display','block');
    $('.input input').focus();
    // focus();
})
$('.close_logo').click(function(){
    console.log('search close');
    $('.searchDetail').css('display','none');
})
$(function(){
    $('.input input').focus;
})